package com.hyfd.controller.mp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hyfd.controller.sys.BaseController;
import com.hyfd.service.mp.CallBackForProviderSer;

@Controller
public class CallBackForProviderCtl extends BaseController
{
    
    @Autowired
    CallBackForProviderSer callBackForProviderSer;
    
    /**
     * 好亚飞达话费状态回调
     * 
     * @author lks 2016年12月13日上午11:21:21
     * @param request
     * @param response
     * @return
     */
    @GetMapping("/status/HyfdBill")
    @ResponseBody
    public String hyfdBillCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForHyfdBill(request, response);
    }
    
    /**
     * 投石米状态回调接口
     * 
     * @author lks 2017年2月21日上午11:33:51
     * @param request
     * @param response
     * @return
     */
    @GetMapping("/status/TouShi")
    @ResponseBody
    public String touShiMiCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForTouShi(request, response);
    }
    
    /**
     * 博亚状态回调
     * 
     * @author lks 2017年3月29日上午10:28:07
     * @param request
     * @param response
     * @return
     */
    @GetMapping("/status/BoYa")
    @ResponseBody
    public String BoYaCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForBoYa(request, response);
    }
    
    @GetMapping("/status/HaoBai")
    @ResponseBody
    public String HaoBaiCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackHaoBai(request, response);
    }
    
    /**
     * 尚通回调
     * 
     * @author lks 2017年3月31日上午9:14:23
     * @param request
     * @param response
     * @return
     */
    @RequestMapping("/status/ShangTong")
    @ResponseBody
    public String ShangTongCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForShangTong(request, response);
    }
    
    /**
     * 乐免回调
     * 
     * @author lks 2017年4月1日下午2:23:58
     * @param request
     * @param response
     * @return
     */
    @PostMapping("/status/LeMian")
    @ResponseBody
    public String LeMianCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForLeMian(request, response);
    }
    
    /**
     * 潍坊状态回调
     * 
     * @author cxj 2017年3月31日
     * @param request
     * @param response
     * @return
     */
    @GetMapping("/status/WFZhitong")
    @ResponseBody
    public String WFZhitongCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackWFZhitong(request, response);
    }
    
    @PostMapping("/status/SanWangTong")
    @ResponseBody
    public String SanWangTongCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusSanWangTong(request, response);
    }
    
    @PostMapping("/status/Sdllpt")
    @ResponseBody
    public String SdllptCallback(HttpServletRequest request, HttpServletResponse response)
    {
    	return callBackForProviderSer.backStatusSdllptUpdate(request, response);
    }
    
    @PostMapping("/status/YunXu")
    @ResponseBody
    public String YunXuCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForYunXu(request, response);
    }
    
    @PostMapping("/status/XiCheng")
    @ResponseBody
    public String XiChengCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForXiCheng(request, response);
    }
    
    @PostMapping("/status/DaHanSanTong")
    @ResponseBody
    public String DaHanSanTongCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackDHSanTong(request, response);
    }
    
    @PostMapping("/status/YinTong")
    @ResponseBody
    public String YinTongCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackYinTong(request, response);
    }
    
    @GetMapping("/status/BoLuoMi")
    @ResponseBody
    public String BoLuoMiCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackBoLuoMi(request, response);
    }
    
    @GetMapping("/status/WangSen")
    @ResponseBody
    public String WangSenCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackWangSen(request, response);
    }
    
    @PostMapping("/status/WangXin")
    @ResponseBody
    public String statusBackWangXin(HttpServletRequest request, HttpServletResponse response)
    {
    	return callBackForProviderSer.statusBackWangXin(request, response);
    }
    
    @PostMapping("/status/ZhongJin")
    @ResponseBody
    public String statusBackZhongJin(HttpServletRequest request, HttpServletResponse response)
    {
    	return callBackForProviderSer.statusBackZhongJin(request, response);
    }
    
    @PostMapping("/status/NewBoLuoMi")
    @ResponseBody
    public String BoLuoMiNewCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackNewBoLuoMi(request, response);
    }
    
    /**
     * 远特状态回调
     * 
     * @author zj 2017年3月29日上午10:28:07
     * @param request
     * @param response
     * @return
     */
    @PostMapping("/status/YuanTe")
    @ResponseBody
    public String YuanTeCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForYuanTe(request, response);
    }
    
    @GetMapping("/status/SaiYue")
    @ResponseBody
    public String saiYueCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForSaiYue(request, response);
    }
    
    @PostMapping("/status/HuaGu")
    @ResponseBody
    public String HuaGuCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackForHuaGu(request, response);
    }
    
    @PostMapping("/status/ZhuoYi")
    @ResponseBody
    public String ZhuoYiCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackforZhuoYi(request, response);
    }
    
    @PostMapping("/status/YiGuang")
    @ResponseBody
    public String YiGuangCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackforYiGuang(request, response);
    }
    
    @PostMapping("/status/JingRunYuan")
    @ResponseBody
    public String JingRunYuanCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackforJingRunYuan(request, response);
    }
    
    @GetMapping("/status/LangShuo")
    @ResponseBody
    public String LangShuoCallback(HttpServletRequest request, HttpServletResponse response)
    {
        return callBackForProviderSer.statusBackLangShuo(request, response);
    }
}
